fun foo() {
    if (!<selection><caret>a</selection>) {
       bar()
    }
}